namespace TesteSharepointNovo.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class Inicial : DbMigration
    {
        public override void Up()
        {
            DropForeignKey("dbo.Curriculoes", "User_UserId", "dbo.UserProfile");
            DropIndex("dbo.Curriculoes", new[] { "User_UserId" });
            AddColumn("dbo.Curriculoes", "UserId", c => c.Int(nullable: false));
            DropColumn("dbo.Curriculoes", "User_UserId");
            
        }
        
        public override void Down()
        {
        
            
            AddColumn("dbo.Curriculoes", "User_UserId", c => c.Int());
            DropColumn("dbo.Curriculoes", "UserId");
            CreateIndex("dbo.Curriculoes", "User_UserId");
            AddForeignKey("dbo.Curriculoes", "User_UserId", "dbo.UserProfile", "UserId");
        }
    }
}
